package com.yitao.cms.dto.cashCoupons;

import com.skipper.base.dto.BaseDto;
import com.yitao.cms.utils.NumberUtil;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Author: wwl
 * @Date: 2020/3/14 17:58
 * @Description:
 */
public class CashCouponsExpandProductDto extends BaseDto {
    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("商品名称")
    private String productName;
    @ApiModelProperty("商品简述")
    private String productDescription;
    @ApiModelProperty("商品主图")
    private String productMainImgUrl;
    @ApiModelProperty("售价")
    private Long salesPrice;
    @ApiModelProperty("售价(元)")
    private Double salesPriceYuan;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductDescription() {
        return productDescription;
    }

    public void setProductDescription(String productDescription) {
        this.productDescription = productDescription;
    }

    public String getProductMainImgUrl() {
        return productMainImgUrl;
    }

    public void setProductMainImgUrl(String productMainImgUrl) {
        this.productMainImgUrl = productMainImgUrl;
    }

    public Long getSalesPrice() {
        return salesPrice;
    }

    public void setSalesPrice(Long salesPrice) {
        this.salesPrice = salesPrice;
    }

    public Double getSalesPriceYuan() {
        return NumberUtil.centToYuanForDouble(salesPrice);
    }

    public void setSalesPriceYuan(Double salesPriceYuan) {
        this.salesPriceYuan = salesPriceYuan;
    }
}
